//
//  SetCell.m
//  jiyujiaProgram
//
//  Created by Jame on 15/11/28.
//  Copyright © 2015年 中良 赵. All rights reserved.
//

#import "SetCell.h"

@implementation SetCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setCellWithModel:(NSArray *)model WithIndexPath:(NSIndexPath *)index
{
    self.titleLabel.text = model[index.section];
    if (index.section == 7) {
        self.updateSwitch.hidden = NO;
    }else{
        self.updateSwitch.hidden = YES;
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
